#!/bin/bash

# AFLNet 模糊测试命令
./afl-fuzz \
    -d \
    -i /home/ubuntu/experiments/in-tls \
    -x /home/ubuntu/experiments/tls.dict \
    -o /home/ubuntu/experiments/out-openssl-aflnet \
    -N "tcp://127.0.0.1/4433" \
    -P TLS \
    -D 10000 \
    -q 3 \
    -s 3 \
    -E \
    -K \
    -R \
    -W 30 \
    -t "5000+" \
    -m none \
    -- \
    /home/ubuntu/experiments/openssl/apps/openssl \
    s_server \
    -key /home/ubuntu/experiments/openssl/key.pem \
    -cert /home/ubuntu/experiments/openssl/cert.pem \
    -4 \
    -naccept 1 \
    -no_anti_replay